package cn.edu.ahu.aircondition.modbus.service.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by zjy on 2017/6/6.
 */
@Entity
@Table(name = "Set_Tabel")
public class AirConSetEntity {
    private Integer deviceId;
    private Integer deviceAddress;
    private Integer devicePort;

    @Id
    @Column(name = "DeviceID",nullable = false)
    public Integer getDeviceId() {
        return deviceId;
    }

    @Column(name = "DeviceAddress",nullable = false)
    public Integer getDeviceAddress() {
        return deviceAddress;
    }

    @Column(name = "DevicePort",nullable = false)
    public Integer getDevicePort() {
        return devicePort;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public void setDeviceAddress(Integer deviceAddress) {
        this.deviceAddress = deviceAddress;
    }

    public void setDevicePort(Integer devicePort) {
        this.devicePort = devicePort;
    }
}
